import {Fortunetext} from "../../types.ts";
import FortuneTextItem from "./FortuneTextItem.tsx";

interface FortuneTextProps {
    fortuneText?: Fortunetext
}

function FortuneText({fortuneText}: FortuneTextProps) {
    return (
        <div className="luck-container others">
            <FortuneTextItem title="整体运势" content={fortuneText?.all}/>
            <FortuneTextItem title="爱情运势" content={fortuneText?.love}/>
            <FortuneTextItem title="事业运势" content={fortuneText?.work}/>
            <FortuneTextItem title="财富运势" content={fortuneText?.money}/>
        </div>
    )
}

export default FortuneText;